<div id="user_login_logout">			 
<?php 
      if($session->check("Auth.User.id")){?>
 	<?php echo $session->read("Auth.User.email")?> |
    <?php 
      echo $html->link(__d("firma.hanibuty","Wyloguj się",true),array('controller'=>'users','action'=>'logout'));
      }else{
      echo $html->link(__d("firma.hanibuty","Zaloguj się",true),array('controller'=>'users','action'=>'login'));
     }
?>
</div>

